<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<jsp:include page="/WEB-INF/views/common/header.jsp" />

<link rel="stylesheet" href="<c:out value="${pageContext.request.contextPath}"/>/resources/common/bootstrap/css/bootstrap-datepicker.min.css">

<script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/resources/js/repair_create_popup.js"></script>
<script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/resources/common/bootstrap/js/bootstrap-datepicker.min.js"></script>

<script type="text/javascript">
	$(document).ready(function() {
		$('#type_date').datepicker({
			format: "yyyy-mm-dd",
			autoclose: true,
			todayHighlight: true
		})
	});
</script>

</head>
<body>
	<jsp:include page="/WEB-INF/views/main/menu.jsp" />

	<div class="container">
		<div class="page-header">
			<h3>수리종료품 분류 입고 처리</h3>
		</div>
		<form class="form-inline">
			<h4>분류 입고 창고</h4>
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="shipment_warehouse" style="width: 100px">출하대기창고</label> 
						<input type="text" class="form-control" id="shipment_warehouse" size="59"> 
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="shipment_warehouse" style="width: 100px">양품창고</label> 
						<input type="text" class="form-control" id="shipment_warehouse" size="59"> 
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="repair_no_warehouse" style="width: 100px">수리불가창고</label> 
						<input type="text" class="form-control" id="repair_no_warehouse" size="59"> 
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="repair_accept_warehouse" style="width: 100px">수리접수창고</label> 
						<input type="text" class="form-control" id="repair_accept_warehouse" size="59"> 
					</div>
				</div>
			</div>
			<hr />
			<p />
			<h4>분류처리정보</h4>
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="serial_no_scanning" style="width: 100px">Serial No.</label> 
						<input type="text" class="form-control" id="serial_no_scanning" size="59">
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="type_date" style="width: 100px">분류일</label> 
						<div class="input-group date" id="type_date">
  							<input type="text" class="form-control" size="52" disabled="disabled">
  								<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
						</div>
					</div>
				</div>
			</div>
			<p />
		</form>
		<p />
		<!--
			<div class="fixed-table-container">
			<div style="overflow-x:auto">
			<div class="table-responsive">
			-->
		<!-- 
			<table data-toggle="table" data-url="<c:out value="${pageContext.request.contextPath}"/>/resources/test_data/data.json" data-height="400" data-side-pagination="server" data-pagination="true" data-page-list="[5, 10, 20, 50, 100]" data-search="false">
			 -->
		<table data-toggle="table"
			<%-- data-url="<c:out value="${pageContext.request.contextPath}"/>/resources/test_data/data.json" --%>
			data-height="400" data-pagination="true" data-search="false">
			<thead>
				<tr>
					<th data-field="state" data-checkbox="true"></th>
					<th data-field="no" data-align="center">항번</th>
					<th data-field="serial_no" data-align="center">Serial No.</th>
					<th data-field="ro_line_id" data-align="center">RO Line ID</th>
					<th data-field="operator_id" data-align="center">운용국</th>
					<th data-field="item_code" data-align="center">품목</th>
					<th data-field="item_name" data-align="center">품명</th>
					<th data-field="model_code" data-align="center">기종</th>
					<th data-field="revision" data-align="center">REVISION</th>
					<th data-field="cost_type" data-align="center">유무상구분</th>
					<th data-field="type_warehouse" data-align="center">분류입고창고</th>
					<th data-field="repair_result" data-align="center">수리결과</th>
					<th data-field="request_check" data-align="center">청구여부</th>
				</tr>
			</thead>
		</table>
	</div>
	<div class="modal fade" role="dialog" id="modalDiv">
		<div class="modal-dialog">
			<div class="modal-content"></div>
		</div>
	</div>
</body>
</html>